import { ref } from 'vue'
import type { goodsListType } from '@/types/component'

// 商品列表
export const useGoodsList = () => {
  const Xtx_goodslist_Ref = ref<goodsListType>()
  const onScrolltolower = () => {
    Xtx_goodslist_Ref.value?.getList()
  }

  return {
    Xtx_goodslist_Ref,
    onScrolltolower,
  }
}
